﻿using MRSite.AutoMapper.Attributes;
using MRSite.Entity;
using ProtoBuf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MRSite.EntityDto
{

    [AutoMapBoth(typeof(ProductValue))]
    [ProtoContract]
    public class ProductValueDto
    {
        [ProtoMember(1)]
        public int id { get; set; }

        [ProtoMember(2)]
        public int product_id { get; set; }

        [ProtoMember(3)]
        public String item_no { get; set; }

        [ProtoMember(4)]
        public int stock_quantity { get; set; }

        [ProtoMember(5)]
        public Decimal market_price { get; set; }

        [ProtoMember(6)]
        public Decimal sell_price { get; set; }

        [ProtoMember(7)]
        public int point { get; set; }

        [ProtoMember(8)]
        public Decimal cost_price { get; set; }

        [ProtoMember(9)]
        public int sales_volume { get; set; }

        [ProtoMember(10)]
        public int shopid { get; set; }
    }
}
